package com.mall.ware;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author: 谢君臣
 * @Date: 2022/7/17-14:42
 * @version: 1.0
 * @function:
 */
@EnableRabbit
@EnableSwagger2
@EnableTransactionManagement
@EnableFeignClients(basePackages = {"com.mall.ware.feign"})
@SpringBootApplication
public class MallWareApplicaton {
    public static void main(String[] args) {
        SpringApplication.run(MallWareApplicaton.class, args);
    }

}
